# -.- coding: utf-8 -.-
import os
import sys
import redis

reload(sys)  # Reload does the trick!
sys.setdefaultencoding('UTF8')

if __name__ == "__main__":
    r = redis.StrictRedis(host='10.3.0.9', port=6379, db=7)

    print r.get('ucode:{}'.format('ucode'))
